package prototype;

public class Test {
	public static void main(String[] args) {
		Manager manager = new Manager();
		UnderLinePen underLinePen = new UnderLinePen("-");
		MesseageBox messeageBox = new MesseageBox("\\");
		manager.regist("^p", underLinePen);
		manager.regist("*m", messeageBox);
		Product productu = manager.create("^p");
		productu.use("Hello World");
		Product productm = manager.create("*m");
		productm.use("Hello World");
	}
}
